package web

import (
	"ksd-social-api/commons/base/controller"
)

type UserRegController struct {
	controller.BaseController
}

/**
 * @author feige
 * @date 2023-10-10
 * @version 1.0
 * @desc  查询用户明细
 */
func (web *UserController) FindUserReg() {
	userRegs := userService.FindUserRegs()
	vipTop10 := userService.FindUserVipTop10()
	for _, userinfo := range *vipTop10 {
		userRegs = append(userRegs, &userinfo)
	}
	web.Ok(userRegs)
}
